<template>
  <div class="content-divider">
    <div class="form-title">{{ title }}</div>
  </div>
</template>

<script setup lang="ts">
const props = defineProps<{
  title: string;
}>()
</script>

<style scoped>
.content-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.form-title {
  padding: 10px;
  position: relative;
}

.form-title:before {
  content: "";
  width: 5px;
  height: 16px;
  background: var(--el-color-primary);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
</style>
